<?php
namespace Home\Model;

class CureRecordModel extends CommonModel{
    
    //获取某一月份的透析记录
    public function getRecordByMon($uid, $month = '2016-01'){
        $res = $this->where("left(tx_date,7) = '{$month}' and uid = '{$uid}'")->select();
        return $res;
    }
    
}